package wf.dto.geocon;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import javax.persistence.Transient;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frageo.pbgeopun",
            query = "select * from frageo.pbgeopun(:p_id_geocon)",
            resultClass = GeopunDto.class)
})
public class GeopunDto implements Serializable {

    @EmbeddedId
    private GeopunDtoID id;
    @Column(name = "ti_puncol")
    private String ti_puncol;
    @Column(name = "no_pundes")
    private String no_pundes;
    @Column(name = "no_punlab")
    private String no_punlab;
    @Transient
    private double nu_geolat;
    @Transient
    private double nu_geolon;

    public GeopunDtoID getId() {
        return id;
    }

    public void setId(GeopunDtoID id) {
        this.id = id;
    }

    public String getNo_pundes() {
        return no_pundes;
    }

    public void setNo_pundes(String no_pundes) {
        this.no_pundes = no_pundes;
    }

    public String getTi_puncol() {
        return ti_puncol;
    }

    public void setTi_puncol(String ti_puncol) {
        this.ti_puncol = ti_puncol;
    }

    public double getNu_geolat() {
        return nu_geolat;
    }

    public void setNu_geolat(double nu_geolat) {
        this.nu_geolat = nu_geolat;
    }

    public double getNu_geolon() {
        return nu_geolon;
    }

    public void setNu_geolon(double nu_geolon) {
        this.nu_geolon = nu_geolon;
    }

    public String getNo_punlab() {
        return no_punlab;
    }

    public void setNo_punlab(String no_punlab) {
        this.no_punlab = no_punlab;
    }
}
